package com.zuo.Controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: zyl
 * @Date: 2021/7/8 17:54
 * @Version: 1.0
 */
@Controller
@RequestMapping("/hello")
public class HelloController {

    @GetMapping("/beijing")
    @ResponseBody
    public String hello() {
        return "hello";

    }
}
